package net.cyue.web.easyquery.core;

import net.cyue.web.easyquery.core.db.data.SQLInfo;
import net.cyue.web.easyquery.core.db.data.SQLPageInfo;
import net.cyue.web.easyquery.core.http.data.DefaultWebResult;

public class TestClass {
    public static void main(String[] args) {
        // DefaultWebResult result = DefaultWebResult.success("success");
        // Object obj = result;
        // System.out.println(obj.getClass());

        SQLInfo info = new SQLPageInfo("select * from test", 1, 10);
        if (info instanceof SQLPageInfo) {
            System.out.println("SQLPageInfo");
        } else if (info instanceof SQLInfo) {
            System.out.println("SQLInfo");
        }
    }
}
